package io.renren.modules.sys.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author wangyi
 * @email 794651397@qq.com
 * @date 2018-03-19 10:51:46
 */
public class HistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Long id;
	//
	private Long userId;
	//曲谱或视频id
	private Long mediaId;
	//0曲谱 1视频
	private Integer type;

	private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：曲谱或视频id
	 */
	public void setMediaId(Long mediaId) {
		this.mediaId = mediaId;
	}
	/**
	 * 获取：曲谱或视频id
	 */
	public Long getMediaId() {
		return mediaId;
	}
	/**
	 * 设置：0曲谱 1视频
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：0曲谱 1视频
	 */
	public Integer getType() {
		return type;
	}
}
